import pytest

from Po.Tools import send_email,time_str,log_send

if __name__ == '__main__':
    filename=time_str()
    log_send(filename)
    pytest.main(['TestCase.py','-s',f'--html=report/{filename}.html'])
    send_email([f'report/{filename}.html', f'{filename}.log'])


